﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kugar.Core.BaseStruct;
using Kugar.Core.ExtMethod;

namespace Kugar.ERPFramework.Core.Interfaces
{
     public class CustomModuleBase:ICustomBLLModule
    {
         public CustomModuleBase(string name, IProjectInstance projectInstance)
         {
             Name = name;
             ProjectInstance = projectInstance;
         }

         #region Implementation of ICustomBLLModule

         public string Name { get; private set; }

         public ResultReturn Execute(string methodName, params object[] paramList)
         {
             return this.FastInvoke<ResultReturn>(methodName,paramList);
         }

         public IProjectInstance ProjectInstance { get; private set; }

         #endregion
    }
}
